package com.roobtyan.todomemback.service;

import com.roobtyan.todomemback.entity.CardDir1;

import java.util.List;

public interface CardDirService {
    /**
     *
     * @param cardDir1
     * @return
     */
    int insertDir1(CardDir1 cardDir1);

    /**
     *
     * @param dir1Id
     */
    void deleteDir1(int dir1Id);

    /**
     *
     * @param cardDir1
     */
    void updateDir1(CardDir1 cardDir1);

    /**
     *
     * @return
     */
    List<CardDir1> getAllDir1();
}
